﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CubicFWNet.Data.Models
{
    /// <summary>
    /// 库存转移记录
    /// </summary>
    public partial class InventoryChange
    {
        public Guid Id { get; set; }

        //public Nullable<Guid> OrderOut { get; set; }
        //public Nullable<Guid> OrderIn { get; set; }

        public Guid ProductId { get; set; }

        /// <summary>
        /// 转移数量
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// 入库库房
        /// </summary>
        public int InStorageId { get; set; }

        /// <summary>
        /// 出库库房
        /// </summary>
        public int OutStorageId { get; set; }

        public Guid CreatorID { get; set; }

        public Nullable<Guid> ConfirmId { get; set; }

        /// <summary>
        /// 转移状态 0：未确认 1：已确认 -1：转移异常
        /// </summary>
        public int Confirm{ get; set; }

        public Nullable<DateTime> ConfirmTime { get; set; }

        public DateTime CreateTime { get; set; }

        public string Memo { get; set; }
    }
}
